What are value types and reference types?
2198
13-Nov-2013
Sumit Kesarwani
13-Nov-2013Value types are stored in the Stack.
Examples: bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint, ulong, ushort.
Reference types are stored in the Heap.
Examples: class, delegate, interface, object, string.